package com.sgb.kjwl.model.entity;

import android.text.TextUtils;

import java.util.List;

public class SkuDetail {
    private List<SkuListEntity> skuListVos;
    private String brandName;//品牌名称
    private String detailsAddress;//仓储详细地址
    private String preciseStorageName;//仓储名称
    private String title;
    private String cartTitle;

    public String getCartTitle() {
        return cartTitle;
    }

    public void setCartTitle(String cartTitle) {
        this.cartTitle = cartTitle;
    }

    public List<SkuListEntity> getSkuList() {
        return skuListVos;
    }

    public void setSkuList(List<SkuListEntity> skuListVos) {
        this.skuListVos = skuListVos;
    }

    public List<SkuListEntity> getSkuListVos() {
        return skuListVos;
    }

    public void setSkuListVos(List<SkuListEntity> skuListVos) {
        this.skuListVos = skuListVos;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getDetailsAddress() {
        return detailsAddress;
    }

    public void setDetailsAddress(String detailsAddress) {
        this.detailsAddress = detailsAddress;
    }

    public String getPreciseStorageName() {
        return preciseStorageName;
    }

    public void setPreciseStorageName(String preciseStorageName) {
        this.preciseStorageName = preciseStorageName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public class SkuListEntity {
        private String attr;
        private String id;
        private String money;
        private String promotePrice;//促销价格
        private int promoteStatus;//促销状态 0无  1未开始  2促销中 3已结束 4已取消

        private String price;
        private String price1;
        private String price2;
        private String price3;
        private String price4;
        private String price5;
        private boolean isSet;
        private boolean isChange;

        public String getAttr() {
            return attr;
        }

        public void setAttr(String attr) {
            this.attr = attr;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMoney() {
            if (TextUtils.isEmpty(money))
                return "0.00";
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getPromotePrice() {
            if (TextUtils.isEmpty(promotePrice))
                return "0.00";
            return promotePrice;
        }

        public void setPromotePrice(String promotePrice) {
            this.promotePrice = promotePrice;
        }

        public int getPromoteStatus() {
            return promoteStatus;
        }

        public void setPromoteStatus(int promoteStatus) {
            this.promoteStatus = promoteStatus;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice1() {
            return price1;
        }

        public void setPrice1(String price1) {
            this.price1 = price1;
        }

        public String getPrice2() {
            return price2;
        }

        public void setPrice2(String price2) {
            this.price2 = price2;
        }

        public String getPrice3() {
            return price3;
        }

        public void setPrice3(String price3) {
            this.price3 = price3;
        }

        public String getPrice4() {
            return price4;
        }

        public void setPrice4(String price4) {
            this.price4 = price4;
        }

        public String getPrice5() {
            return price5;
        }

        public void setPrice5(String price5) {
            this.price5 = price5;
        }

        public boolean isSet() {
            return isSet;
        }

        public void setSet(boolean set) {
            isSet = set;
        }

        public boolean isChange() {
            return isChange;
        }

        public void setChange(boolean change) {
            isChange = change;
        }
    }
}
